package com.ftg.learn.rbac.service;

import com.ftg.learn.rbac.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kangjx
 * @since 2022-03-23
 */
public interface IRoleService extends IService<Role> {

    boolean updateIce(int id, int num);

    List<String> showRoleIdForUid(String uid);

    Boolean userForRole(int uid, List<String> rids);
}
